package com.gzy.cs3.service;

import com.gzy.cs3.model.User;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

public interface UserService {

    List<User> getAllUsers();

    User getUserById(int id);

    void insertUser(User user);

    void updateUser(User user);

    void deleteUser(int id);
}
